package com.app.couponsharelife.jpush
import android.content.Context
import cn.jpush.android.api.CustomMessage
import cn.jpush.android.api.JPushMessage
import cn.jpush.android.service.JPushMessageReceiver
import com.app.couponsharelife.utils.Logger

/**
 *Created by xct on 2019/5/20
 *Description:
 */
open class MyJPushMessageReceiver: JPushMessageReceiver() {
    override fun onMessage(p0: Context?, p1: CustomMessage?) {
        Logger.e("eee","收到推送onMessage")
        super.onMessage(p0, p1)
    }

    override fun onCheckTagOperatorResult(p0: Context?, p1: JPushMessage?) {
        Logger.e("eee","收到推送onCheckTagOperatorResult")
        super.onCheckTagOperatorResult(p0, p1)
    }

    override fun onAliasOperatorResult(p0: Context?, p1: JPushMessage?) {
        TagAliasOperatorHelper().getInstance()?.onAliasOperatorResult(p0!!, p1!!)
        super.onAliasOperatorResult(p0, p1)
    }
}